package structure.pattern.bridge.inter;

/**
 * @Autor: yuanyongan
 * @Description:
 * @Date 2023/1/9 11:24
 */
public abstract class Notification {
    // private的话子类不可见，所以这里应该protected
    protected MsgSender msgSender;

    public Notification(MsgSender msgSender){
        this.msgSender = msgSender;
    }

    public  abstract void notifies(String message);
}
